﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MaxLeaf.Common;
using System.Data;
using MaxLeaf.DB;
using MySql.Data.MySqlClient;

namespace MaxLeaf.DAL.Web
{
    public class mLogDAL
    {
        public bool Delete(DBAccess dbCon, DataRowView drv)
        {
            string strSql = @"delete  from mLog where recid=?recid";
            
            MySqlParameter[] arrParam = new MySqlParameter[] { 
                new MySqlParameter("?recid", drv["Recid"])                 
            };
            dbCon.ExecuteSql( strSql, arrParam);

            return true;
        }
    }
}